package top.xcxdl.rural.service;

import top.xcxdl.rural.entity.RuralCourseUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-05-22
 */
public interface IRuralCourseUserService extends IService<RuralCourseUser> {

    int joinCourse(RuralCourseUser pojo);

    boolean isExists(RuralCourseUser pojo);

    RuralCourseUser getByCourseAndUser(RuralCourseUser pojo);

    int toInsert(RuralCourseUser pojo);

    void automaticReview(RuralCourseUser courseUser);
}
